package com.campus.common.domain.order;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Order implements Serializable {

  private Long orderId;
  private Integer userId;
  private BigDecimal price;
  private Integer isPay;
  private Integer isSend;
  private Integer isFinish;
  private Integer isReturn;
  private Integer state;
  private Integer isDelete;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime gmtCreate;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime gmtModified;
}
